package main

import ( "http"; "io"; "log" )

func helloHandler(w http.ResponseWriter, req *http.Request) {
    io.WriteString(w, "Olá mundo")
}

func main() {
    http.HandleFunc("/hello", helloHandler)
    err := http.ListenAndServe(":8090", nil)
    if err != nil {
        log.Fatal("ListenAndServer: Unable to start server: cause: %s", err.String())
    }
}
